home *** CD-ROM | disk | FTP | other *** search
- TRSM(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSTTRRSSMM, DDTTRRSSMM, CCTTRRSSMM, ZZTTRRSSMM - Solves a real or complex triangular
- system of equations with multiple right-hand sides
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSTTRRSSMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- Double precision
-
- CCAALLLL DDTTRRSSMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- Complex
-
- CCAALLLL CCTTRRSSMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b)
-
- Double complex
-
- CCAALLLL ZZTTRRSSMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b)
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSTTRRSSMM and DDTTRRSSMM solve a real triangular syste m of equations with
- multiple right-hand sides.
-
- CCTTRRSSMM and ZZTTRRSSMM solve a complex triangular system of equations with
- multiple right-hand sides.
-
- These routines solve one of the following matrix equations, using the
- operation associated with each:
-
- op(A) X = alpha B
-
- -1
- B <- alpha op(A )B
-
- or
-
- X op(A) = alpha B
-
- -1
- B <- alpha B op(A )
-
- where
-
- * _a_l_p_h_a is a scalar
-
- * _X and _B are _m-by-_n matrices
-
- * _A is either a unit or nonunit upper or lower triangular matrix
- -_1
- * _A is the inverse of _A
-
- * _o_p(_A) is one of the following:
-
- _o_p(_A) = _A
- _T
- _o_p(_A) = _A
- _H
- _o_p(_A) = _A (CCTTRRSSMM and ZZTTRRSSMM only)
- _T _H
- where _A is the transpose of _A, and _A is the conjugate transpose of
- _A.
-
- These routines have the following arguments:
-
- _s_i_d_e Character*1. (input)
- Specifies whether _o_p(_A) appears on the left or right of _X,
- as follows:
-
- _s_i_d_e = 'L' or 'l': op(A)*X = alpha*B
-
- _s_i_d_e = 'R' or 'r': X*op(A) = alpha*B
-
- _u_p_l_o Character*1. (input)
- Specifies whether matrix _A is an upper or lower triangular
- matrix, as follows:
-
- _u_p_l_o = 'U' or 'u': _A is an upper triangular matrix.
- _u_p_l_o = 'L' or 'l': _A is a lower triangular matrix.
-
- _t_r_a_n_s_a Character*1. (input)
- Specifies the form of _o_p(_A) to be used in the matrix
- multiplication, as follows:
-
- _t_r_a_n_s_a = 'N' or 'n': _o_p(_A) = _A
-
- _T
- _t_r_a_n_s_a = 'T' or 't': _o_p(_A) = _A
- _T
- _t_r_a_n_s_a = 'C' or 'c': _o_p(_A) = _A (SSTTRRSSMM, DDTTRRSSMM),
- _H
- or _o_p(_A) = _A (CCTTRRSSMM, ZZTTRRSSMM)
-
- _d_i_a_g Character*1. (input)
- Specifies whether _A is unit triangular, as follows:
-
- _d_i_a_g = 'U' or 'u': _A is assumed to be unit triangular.
- _d_i_a_g = 'N' or 'n': _A is not assumed to be unit triangular.
-
- _m Integer. (input)
- Specifies the number of rows in _B. _m must be >= 0.
-
- _n Integer. (input)
- Specifies the number of columns in _B. _n must be >= 0.
-
- _a_l_p_h_a Scalar factor. (input)
- SSTTRRSSMM: Real.
- DDTTRRSSMM: Double precision.
- CCTTRRSSMM: Complex.
- ZZTTRRSSMM: Double complex.
- When _a_l_p_h_a is 0, _a is not referenced, and _b need not be set
- before entry.
-
- _a Array of dimension (_l_d_a,_k). (input)
- SSTTRRSSMM: Real array.
- DDTTRRSSMM: Double precision array.
- CCTTRRSSMM: Complex array.
- ZZTTRRSSMM: Double complex array.
- When _s_i_d_e = 'L' or 'l', _k is _m; when _s_i_d_e = 'R' or 'r', it
- is _n.
- Contains the matrix _A.
-
- Before entry with _u_p_l_o = 'U' or 'u', the leading _k-by-_k
- upper triangular part of array _a must contain the upper
- triangular matrix. The strictly lower triangular part of _a
- is not referenced.
-
- Before entry with _u_p_l_o = 'L' or 'l', the leading _k-by-_k
- lower triangular part of array _a must contain the lower
- triangular matrix. The strictly upper triangular part of _a
- is not referenced.
-
- When _d_i_a_g = 'U' or 'u', the diagonal elements of _a are not
- referenced, but they are assumed to be unity.
-
- _l_d_a Integer. (input)
- Specifies the first dimension of _a as declared in the
- calling program.
-
- When _s_i_d_e = 'L' or 'l', _l_d_a >= MMAAXX(1,_m).
-
- When _s_i_d_e = 'R' or 'r', _l_d_a >= MMAAXX(1,_n).
-
- _b Array of dimension (_l_d_b,_n). (input)
- SSTTRRSSMM: Real array.
- DDTTRRSSMM: Double precision array.
- CCTTRRSSMM: Complex array.
- ZZTTRRSSMM: Double complex array.
- Contains the matrix _B.
-
- Before entry, the leading _m-by-_n part of array _b must
- contain the right-hand side matrix _B. On exit, the solution
- matrix _X overwrites array _b.
-
- _l_d_b Integer. (input)
- Specifies the first dimension of _b as declared in the
- calling program. _l_d_b >= MMAAXX(1,_m).
-
- NNOOTTEESS
- These routines are Level 3 Basic Linear Algebra Subprograms (Level 3
- BLAS).
-
- SSEEEE AALLSSOO
- This man page is available only online.
-